Skip to content

attachInterruptArg should take voidFuncPtrArg as argument #1776

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 17, 2018

Conversation

hreintke
Copy link
Contributor

@bertmelis
When working on an example for the FunctionalInterrupt, I took yours from GPIOInterrupt as base.
However, could not get it to run correctly.

I think the signature of attachInterruptArg is wrong.
With the patch from this PR it works as expected.

Can you take a look ?

PS : Did not notice when creating FunctionalInterrupt as that implements it's own attach.

@hreintke hreintke changed the title InterruptArg should take voidFuncPtrArg as argument attachInterruptArg should take voidFuncPtrArg as argument Aug 20, 2018
@bertmelis
Copy link
Contributor

How could I have missed that?

@me-no-dev me-no-dev merged commit 5be3078 into espressif:master Sep 17, 2018
@me-no-dev
Copy link
Member

so sorry for the delay guys :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants